home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / OpenGL 1.0 SDK / Source / Libraries / glut / glutstroke.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-18  |  738 b   |  38 lines  |  [TEXT/CWIE]

  1. #ifndef __glutstroke_h__
  2. #define __glutstroke_h__
  3.  
  4. /* Copyright (c) Mark J. Kilgard, 1994. */
  5.  
  6. /* This program is freely distributable without licensing fees 
  7.    and is provided without guarantee or warrantee expressed or 
  8.    implied. This program is -not- in the public domain. */
  9.  
  10. typedef struct {
  11.   float x;
  12.   float y;
  13. } CoordRec, *CoordPtr;
  14.  
  15. typedef struct {
  16.   int num_coords;
  17.   CoordPtr coord;
  18. } StrokeRec, *StrokePtr;
  19.  
  20. typedef struct {
  21.   int num_strokes;
  22.   StrokePtr stroke;
  23.   float center;
  24.   float right;
  25. } StrokeCharRec, *StrokeCharPtr;
  26.  
  27. typedef struct {
  28.   char *name;
  29.   int num_chars;
  30.   StrokeCharPtr ch;
  31.   float top;
  32.   float bottom;
  33. } StrokeFontRec, *StrokeFontPtr;
  34.  
  35. typedef void *GLUTstrokeFont;
  36.  
  37. #endif /* __glutstroke_h__ */
  38.